import request from '@/utils/request'

// 查询树形菜单
export function queryTreeMenu(data) {
  return request({
    url: '/tJxMenu/queryTreeMenu',
    method: 'post',
    data
  })
}
// 新增菜单项
export function insertTreeMenu(data) {
  return request({
    url: '/tJxMenu/insertTreeMenu',
    method: 'post',
    data
  })
}
// 修改菜单项
export function updateTreeMenu(data) {
  return request({
    url: '/tJxMenu/updateTreeMenu',
    method: 'post',
    data
  })
}

// 删除菜单项
export function delTreeMenu(data) {
  return request({
    url: '/tJxMenu/delTreeMenu',
    method: 'post',
    data
  })
}
